package cn.tedu.ivos.dict.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author liyuehui
 * @time 2024/7/12 16:15
 */
@Data
public class DictVO {
    @ApiModelProperty(value = "字典id", example = "1")
    private Long id;
    @ApiModelProperty(value = "字典名称", example = "性别")
    private String name;
    @ApiModelProperty(value = "字典编码", example = "sex")
    private String code;
    @ApiModelProperty(value = "备注", example = "性别字典")
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间", example = "2024-07-12 16:12:00")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间", example = "2024-07-12 16:12:00")
    private Date updateTime;
}
